package demo.security.core.validate.code.image;

import demo.security.core.validate.code.ValidateCode;
import lombok.Data;

import java.awt.image.BufferedImage;

/**
 * ImageCode
 *
 * @author lidj
 * @date 2018-01-11
 */
@Data
public class ImageCode extends ValidateCode {

    /**
     * 图片
     */
    private BufferedImage image;


    public ImageCode(BufferedImage image,String code,int expireIn){
        super(code,expireIn);
        this.image = image;
    }

}
